package logic.trails;

import logic.DelayedController;

public class TrailController extends DelayedController {
	
	private static final long serialVersionUID = 1L;
	
	protected AbstractTrail trail;
	
	public TrailController(AbstractTrail trail) {
		super(0f);
		this.trail = trail;
	}
	
	@Override
	protected void delayedUpdate(float time) {
		trail.checkVisibility();
		trail.updateTrailMeshes(time);
	}
}